package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/AssetsTotal.class */
public class AssetsTotal {
    private double amountTotal;
    private Integer numberTotal;

    public void setAmountTotal(double amountTotal) {
        this.amountTotal = amountTotal;
    }

    public void setNumberTotal(Integer numberTotal) {
        this.numberTotal = numberTotal;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AssetsTotal)) {
            return false;
        }
        AssetsTotal other = (AssetsTotal) o;
        if (!other.canEqual(this) || Double.compare(getAmountTotal(), other.getAmountTotal()) != 0) {
            return false;
        }
        Object this$numberTotal = getNumberTotal();
        Object other$numberTotal = other.getNumberTotal();
        return this$numberTotal == null ? other$numberTotal == null : this$numberTotal.equals(other$numberTotal);
    }

    protected boolean canEqual(Object other) {
        return other instanceof AssetsTotal;
    }

    public int hashCode() {
        long $amountTotal = Double.doubleToLongBits(getAmountTotal());
        int result = (1 * 59) + ((int) (($amountTotal >>> 32) ^ $amountTotal));
        Object $numberTotal = getNumberTotal();
        return (result * 59) + ($numberTotal == null ? 43 : $numberTotal.hashCode());
    }

    public String toString() {
        return "AssetsTotal(amountTotal=" + getAmountTotal() + ", numberTotal=" + getNumberTotal() + PoiElUtil.RIGHT_BRACKET;
    }

    public double getAmountTotal() {
        return this.amountTotal;
    }

    public Integer getNumberTotal() {
        return this.numberTotal;
    }
}